<html>
<head><meta charset="utf-8"><title>Help for #49839 · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20for.20.2349839.html">Help for #49839</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="223520691"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20for%20%2349839/near/223520691" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> sasurau4 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20for.20.2349839.html#223520691">(Jan 21 2021 at 15:09)</a>:</h4>
<p>I'm working on <a href="https://github.com/rust-lang/rust/issues/49839#issuecomment-761930746">rust issue#49839</a> with following the advice of the comment. I want to get candidate impl for <code>map</code> binding in <a href="https://play.rust-lang.org/?version=nightly&amp;mode=debug&amp;edition=2018&amp;gist=0f01fc121903cada78e3fe83417788a2">example</a>.<br>
But, I could get only source info from <a href="https://github.com/rust-lang/rust/blob/1.49.0/compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs#L336-L341">this line</a>. It seems that source info only contains span. I think I could search impl candidate in hir. How to get the hir or mir of <code>map</code>?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>